<!DOCTYPE html>

<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->

<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->

<!--[if !IE]><!--> <html lang="en" class="no-js"> <!--<![endif]-->

<!-- BEGIN HEAD -->

<head>

    <meta charset="utf-8" />

    <title>Metronic | Admin Dashboard Template</title>

    <meta content="width=device-width, initial-scale=1.0" name="viewport" />

    <meta content="" name="description" />

    <meta content="" name="author" />

    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="__PUBLIC__/admin/css/mycss.css" rel="stylesheet" type="text/css"/>

    <link href="__PUBLIC__/admin/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>

    <link href="__PUBLIC__/admin/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>

    <link href="__PUBLIC__/admin/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>

    <link href="__PUBLIC__/admin/css/style-metro.css" rel="stylesheet" type="text/css"/>

    <link href="__PUBLIC__/admin/css/style.css" rel="stylesheet" type="text/css"/>

    <link href="__PUBLIC__/admin/css/style-responsive.css" rel="stylesheet" type="text/css"/>

    <link href="__PUBLIC__/admin/css/default.css" rel="stylesheet" type="text/css" id="style_color"/>

    <link href="__PUBLIC__/admin/css/uniform.default.css" rel="stylesheet" type="text/css"/>


    <!-- END GLOBAL MANDATORY STYLES -->

    <!-- BEGIN PAGE LEVEL STYLES --> 

    <link href="__PUBLIC__/admin/css/jquery.gritter.css" rel="stylesheet" type="text/css"/>

    <link href="__PUBLIC__/admin/css/daterangepicker.css" rel="stylesheet" type="text/css" />

    <link href="__PUBLIC__/admin/css/fullcalendar.css" rel="stylesheet" type="text/css"/>

    <link href="__PUBLIC__/admin/css/jqvmap.css" rel="stylesheet" type="text/css" media="screen"/>

    <link href="__PUBLIC__/admin/css/jquery.easy-pie-chart.css" rel="stylesheet" type="text/css" media="screen"/>

    <!-- END PAGE LEVEL STYLES -->


    <link href="__PUBLIC__/admin/css/bootstrap-fileupload.css" rel="stylesheet" type="text/css" />

    <link href="__PUBLIC__/admin/css/chosen.css" rel="stylesheet" type="text/css" />

    <link href="__PUBLIC__/admin/css/profile.css" rel="stylesheet" type="text/css" />


    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/select2_metro.css" />

    <link rel="stylesheet" href="__PUBLIC__/admin/css/DT_bootstrap.css" />

    <!-- END PAGE LEVEL STYLES -->

    <link rel="shortcut icon" href="__PUBLIC__/admin/image/favicon.ico" />


    <link rel="shortcut icon" href="__PUBLIC__/admin/image/favicon.ico" />


    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/bootstrap-fileupload.css" />

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/jquery.gritter.css" />

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/chosen.css" />

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/select2_metro.css" />

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/jquery.tagsinput.css" />

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/clockface.css" />

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/bootstrap-wysihtml5.css" />

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/datepicker.css" />

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/timepicker.css" />

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/colorpicker.css" />

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/bootstrap-toggle-buttons.css" />

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/daterangepicker.css" />

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/datetimepicker.css" />

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/multi-select-metro.css" />

    <link href="__PUBLIC__/admin/css/bootstrap-modal.css" rel="stylesheet" type="text/css"/>

    <link href="__PUBLIC__/plupload/css/plupload.css" rel="stylesheet" type="text/css"/>
    
    <style type="text/css">
        #UEditor{
            width:100%;
        }
    </style>
     <!-- UEditor start -->

    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/admin/UEditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/admin/UEditor/ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/admin/UEditor/lang/zh-cn/zh-cn.js"></script>

    <!-- UEditor end -->


</head>

<!-- END HEAD -->

<!-- BEGIN BODY -->

<body class="page-header-fixed">

    <!-- BEGIN HEADER -->

    <div class="header navbar navbar-inverse navbar-fixed-top">

        <!-- BEGIN TOP NAVIGATION BAR -->

        <div class="navbar-inner">

            <div class="container-fluid">

                <!-- BEGIN LOGO -->

                <a class="brand" href="index.html">

                <img src="__PUBLIC__/test/1.png" width="80px" alt="logo"/>

                </a>

                <!-- END LOGO -->

                <!-- BEGIN RESPONSIVE MENU TOGGLER -->

                <a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">

                <img src="__PUBLIC__/admin/image/menu-toggler.png" alt="" />

                </a>          

                <!-- END RESPONSIVE MENU TOGGLER -->            

                <!-- BEGIN TOP NAVIGATION MENU -->              

                <ul class="nav pull-right">

                    <!-- BEGIN NOTIFICATION DROPDOWN -->   

                  

                    <!-- END NOTIFICATION DROPDOWN -->

                    <!-- BEGIN INBOX DROPDOWN -->

                   

                    <!-- END INBOX DROPDOWN -->

                    <!-- BEGIN TODO DROPDOWN -->

                    <li class="dropdown" id="header_inbox_bar">

                        <a href="/admin/chats/chats/index" class="dropdown-toggle" data-toggle="dropdown">

                        <i class="icon-envelope"></i>

                        <span class="badge">5</span>

                        </a>
                        <ul class="dropdown-menu extended tasks">

                            <li class="external">

                                <a href="/admin/chats/chats/index">查看消息列表<i class="m-icon-swapright"></i></a>

                            </li>

                        </ul>

                    </li>

                    <!-- END TODO DROPDOWN -->

                    <!-- BEGIN USER LOGIN DROPDOWN -->

                    <li class="dropdown user">

                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">

                        <img info="pic" alt="" width='30px' src="{:session('user')['pic']}" />

                        <span info="name" class="username">{:session('user')['name']}</span>

                        <i class="icon-angle-down"></i>

                        </a>

                        <ul class="dropdown-menu">

                            <li><a href="{:U('admin/user/personal/index')}"><i class="icon-user"></i>个人资料</a></li>

                            <li class="divider"></li>

                            <li><a href="{:U('admin/user/screen/index')}"><i class="icon-lock"></i>锁定</a></li>

                            <li id="out"><a href="javascript:;"><i class="icon-key"></i>退出</a></li>

                        </ul>

                    </li>

                    <!-- END USER LOGIN DROPDOWN -->

                </ul>

                <!-- END TOP NAVIGATION MENU --> 

            </div>

        </div>

        <!-- END TOP NAVIGATION BAR -->

    </div>

    <!-- END HEADER -->
    <div class="copyrights">Collect from <a href="http://www.cssmoban.com/" >网页模板</a></div>

    <!-- BEGIN CONTAINER -->

    <div class="page-container">

        <!-- BEGIN SIDEBAR -->

        <div class="page-sidebar nav-collapse collapse">

            <!-- BEGIN SIDEBAR MENU -->        

            <ul class="page-sidebar-menu">

                <li>

                    <!-- BEGIN SIDEBAR TOGGLER BUTTON -->

                    <div class="sidebar-toggler hidden-phone"></div>

                    <!-- BEGIN SIDEBAR TOGGLER BUTTON -->

                </li>

                <li>

                    <!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->

                    <form class="sidebar-search">

                        <div class="input-box">

                            <a href="javascript:;" class="remove"></a>

                            <input type="text" placeholder="Search..." />

                            <input type="button" class="submit" value=" " />

                        </div>

                    </form>

                    <!-- END RESPONSIVE QUICK SEARCH FORM -->

                </li>

                <li class="" info="index">

                    <a href="/">

                    <i class="icon-home"></i> 

                    <span class="title">前台主页</span>

                    <span class="selected"></span>

                    </a>

                </li>

                <li class="" info="user">

                    <a href="/admin/user/user/index">

                    <i class="icon-user"></i> 

                    <span class="title">用户管理</span>

                    <span class="selected"></span>

                    </a>

                </li>

                <li info="goods">

                    <a class="active" href="javascript:;">

                    <i class="icon-sitemap"></i> 

                    <span class="title">商城管理</span>

                    <span class="arrow "></span>

                    </a>

                    <ul class="sub-menu">

                        <li xuanzhong="xuanzhong" info="type">

                            <a href="/admin/goods/type/index">

                            分类管理

                            </a>

                           
                        </li>

                        <li xuanzhong="xuanzhong" info="goods">

                            <a href="/admin/goods/goods/index">

                            商品管理

                            </a>

                           
                        </li>
                        <li xuanzhong="xuanzhong" info="order">

                            <a href="/admin/goods/order/index">

                            订单管理

                            </a>

                           
                        </li>

                    </ul>

                </li>

               <li info="blog">

                    <a href="javascript:;">

                    <i class="icon-folder-open"></i> 

                    <span class="title">Blog管理</span>

                    <span class="arrow "></span>

                    </a>

                    <ul class="sub-menu">
                        <li  xuanzhong="xuanzhong" info="type"><a href="/admin/blog/type/index"><i class="icon-user"></i>分类管理</a></li>

                        <li info="article">

                            <a href="javascript:;">

                            <i class="icon-cogs"></i> 

                            文章管理

                            <span class="arrow"></span>

                            </a>

                            <ul class="sub-menu">

                                <li  xuanzhong="xuanzhong" info="article"><a href="/admin/blog/article/add"><i class="icon-user"></i>文章添加</a></li>

                                <li  xuanzhong="xuanzhong" info="article"><a href="/admin/blog/article/index"><i class="icon-external-link"></i>文章列表</a></li>

                            </ul>

                        </li>

                    </ul>

                </li>

                <li class="">

                    <a href="javascript:;">

                    <i class="icon-user"></i> 

                    <span class="title">轮播图管理</span>

                    <span class="arrow "></span>

                    </a>

                    <ul class="sub-menu">
                        <li >

                            <a href="/admin/lunbo/lunbo/add">

                            轮播图添加</a>

                        </li>

                        <li >

                            <a href="/admin/lunbo/lunbo/shangcheng">

                            商城轮播图</a>

                        </li>

                        <li >

                            <a href="/admin/lunbo/lunbo/Blog">

                            Blog轮播图</a>

                        </li>

                    </ul>

                </li>
                <li class="last ">

                    <a href="/admin/link/link/index">

                    <i class="icon-bar-chart"></i> 

                    <span class="title">友情链接</span>

                    </a>

                </li>

            </ul>

            <!-- END SIDEBAR MENU -->

        </div>

        <!-- END SIDEBAR -->

        <!-- BEGIN PAGE -->

        <div class="page-content">

            <!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->

            <div id="portlet-config" class="modal hide">

                <div class="modal-header">

                    <button data-dismiss="modal" class="close" type="button"></button>

                    <h3>Widget Settings</h3>

                </div>

                <div class="modal-body">

                    Widget settings form goes here

                </div>

            </div>

            <!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->

            <!-- BEGIN PAGE CONTAINER-->

            <div class="container-fluid">
                




                <block name="content">
                </block>









            </div>
            <!-- END PAGE CONTAINER-->    

        </div>

        <!-- END PAGE -->

    </div>

    <!-- END CONTAINER -->

    <!-- BEGIN FOOTER -->

    <div class="footer">

        <div class="footer-tools">

            <span class="go-top">

            <i class="icon-angle-up"></i>

            </span>

        </div>

    </div>

    <!-- END FOOTER -->

    <!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->

    <!-- BEGIN CORE PLUGINS -->
    
    <script src="__PUBLIC__/admin/js/jquery-1.10.1.min.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>

    <!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->

    <script src="__PUBLIC__/admin/js/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>      

    <script src="__PUBLIC__/admin/js/bootstrap.min.js" type="text/javascript"></script>

    <!--[if lt IE 9]>

    <script src="media/js/excanvas.min.js"></script>

    <script src="media/js/respond.min.js"></script>  

    <![endif]-->   

    <script src="__PUBLIC__/admin/js/jquery.slimscroll.min.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/jquery.blockui.min.js" type="text/javascript"></script>  

    <script src="__PUBLIC__/admin/js/jquery.cookie.min.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/jquery.uniform.min.js" type="text/javascript" ></script>

    <!-- END CORE PLUGINS -->

    <!-- BEGIN PAGE LEVEL PLUGINS -->

    <script type="text/javascript" src="__PUBLIC__/admin/js/ckeditor.js"></script>  

    <script type="text/javascript" src="__PUBLIC__/admin/js/bootstrap-fileupload.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/chosen.jquery.min.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/select2.min.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/wysihtml5-0.3.0.js"></script> 

    <script type="text/javascript" src="__PUBLIC__/admin/js/bootstrap-wysihtml5.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/jquery.tagsinput.min.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/jquery.toggle.buttons.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/bootstrap-datepicker.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/bootstrap-datetimepicker.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/clockface.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/date.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/daterangepicker.js"></script> 

    <script type="text/javascript" src="__PUBLIC__/admin/js/bootstrap-colorpicker.js"></script>  

    <script type="text/javascript" src="__PUBLIC__/admin/js/bootstrap-timepicker.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/jquery.inputmask.bundle.min.js"></script>   

    <script type="text/javascript" src="__PUBLIC__/admin/js/jquery.input-ip-address-control-1.0.min.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/jquery.multi-select.js"></script>   

    <script src="__PUBLIC__/admin/js/bootstrap-modal.js" type="text/javascript" ></script>

    <script src="__PUBLIC__/admin/js/bootstrap-modalmanager.js" type="text/javascript" ></script> 





    <script src="__PUBLIC__/admin/js/jquery.vmap.js" type="text/javascript"></script>   

    <script src="__PUBLIC__/admin/js/jquery.vmap.russia.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/jquery.vmap.world.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/jquery.vmap.europe.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/jquery.vmap.germany.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/jquery.vmap.usa.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/jquery.vmap.sampledata.js" type="text/javascript"></script>  

    <script src="__PUBLIC__/admin/js/jquery.flot.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/jquery.flot.resize.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/jquery.pulsate.min.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/date.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/daterangepicker.js" type="text/javascript"></script>     

    <script src="__PUBLIC__/admin/js/jquery.gritter.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/fullcalendar.min.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/jquery.easy-pie-chart.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/jquery.sparkline.min.js" type="text/javascript"></script>  

    <!-- END PAGE LEVEL PLUGINS -->



    <script type="text/javascript" src="__PUBLIC__/admin/js/select2.min.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/jquery.dataTables.min.js"></script>

    <script type="text/javascript" src="__PUBLIC__/admin/js/DT_bootstrap.js"></script>

    <!-- END PAGE LEVEL PLUGINS -->

    <!-- BEGIN PAGE LEVEL SCRIPTS -->

    <script src="__PUBLIC__/admin/js/table-advanced.js"></script>     


    <!-- BEGIN PAGE LEVEL SCRIPTS -->

    <script src="__PUBLIC__/admin/js/app.js" type="text/javascript"></script>

    <script src="__PUBLIC__/admin/js/index.js" type="text/javascript"></script>        

    <script src="__PUBLIC__/admin/js/form-components.js"></script>   

  
    <!-- END PAGE LEVEL SCRIPTS -->  

    <script>

        jQuery(document).ready(function() {    

           App.init(); // initlayout and core plugins

           Index.init();

           Index.initJQVMAP(); // init index page's custom scripts

           Index.initCalendar(); // init index page's custom scripts

           Index.initCharts(); // init index page's custom scripts

           Index.initChat();

           Index.initMiniCharts();

           Index.initDashboardDaterange();

           Index.initIntro();

           FormComponents.init();
        });

    </script>

    <script>
        var url = window.location.href.toString().split("/")[4];
        var url1 = window.location.href.toString().split("/")[5];
        $('li[info="'+url+'"]').attr('class','start active');
        $('li[xuanzhong="xuanzhong"]').attr('class','');
        $('li[info="'+url1+'"]').attr('class','active');
        $("#out").click(function(){
            $.ajax({
                url:"{:U('admin/user/personal/out')}",
                type:'get',
                success:function(mes){
                    if(mes=='yes'){
                        location.href="{:U('admin/user/login/index')}";
                    }
                }
            });
            return false;
        });
        // $('body').attr('class','page-boxed page-header-fixed page-sidebar-closed');
$(function(){
        $('#lvjing').click(function(){
            $('#lvjing').css('display','none');
            $('.tianjia').css('display','none');
            $('#pic1').css('display','none');
            $('.lunbo').css('display','none');
            $('#biaodan').css('display','none');
            $('table[info="mytable"]').css('display','none');
        });
        // $('.layout-option ').val('boxed').change();
        $('.header-option ').val('fixed').change();
        $('.sidebar-option ').val('fixed').change();
        $('.footer-option ').val('fixed').change();
});
    </script>

    <!-- END JAVASCRIPTS -->

</body>

<!-- END BODY -->

</html>